package com.zheng.russiaRec.view.components 
{
	
	import com.zheng.russiaRec.view.components.common.GameBtn;
	import com.zheng.russiaRec.view.components.common.GameSprite;
	
	import flash.display.MovieClip;
	
	/**
	 * @describe  	游戏开始panel
	 * @author  	Mr.zheng
	 * @website 	http://blog.sina.com.cn/zihua2007
	 * @time		... 
	 */
	public class UI_GameStart extends GameSprite
	{
		private var _displayMc:MovieClip;
		private var _gameStartBtn:GameBtn;
		private var _settingBtn:GameBtn;
		private var _helpBtn:GameBtn;
		
		public function UI_GameStart() 
		{
			_displayMc = new GameStartMc();
			_gameStartBtn = new GameBtn(_displayMc.gameStart);
			_settingBtn = new GameBtn(_displayMc.setting);
			_helpBtn=new GameBtn(_displayMc.help);
			
			addChild(_displayMc);
			addChild(_gameStartBtn);
			addChild(_settingBtn);
			addChild(_helpBtn)
		}
		override public function delThis():void 
		{
			clearContain(this);
			_displayMc = null;
			_gameStartBtn.delThis(); _gameStartBtn = null;
			_settingBtn.delThis(); _settingBtn = null;
			_helpBtn.delThis();_helpBtn=null;
		}
		public function get gameStartBtn():GameBtn { return _gameStartBtn; }
		public function get settingBtn():GameBtn { return _settingBtn; }
		public function get helpBtn():GameBtn { return _helpBtn; }
	}
	
}